﻿using Ewell.Interface.Common.Model.Constant;
using Ewell.Interface.Common.Model.GateWay.Dto.Basic;
using Ewell.Interface.Common.Model.GateWay.Dto.Out;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ewell.Interface.Common.Model.GateWay.GateWayUriInfo
{
    public class BizSearchDubboService : GateWayUri
    {
        public override string url => "dubbo/cc.ewell.his.basic.service.inter.dubbo.BizSearchDubboService";
        public GateWayMethod queryMemberByExample => new QueryMemberByExample(url);
    }

    public class QueryMemberByExample : GateWayMethod
    {
        public QueryMemberByExample(string baseUrl) : base(baseUrl)
        {
        }

        public override string methodName => "queryMemberByExample";

        public override string paramClass => "co.faao.plugin.page.PageHeader";

        public override DubboParamType paramType => DubboParamType.messageheaderDoamin;

        public override Type requestParamType => typeof(IndexSearchReq);

        public override Type responseParamType => typeof(IndexSearchResultResp<QueryMemberByExampleResp>);
    }
}
